<?php
	include "../User.php";
	$users=new User;
	$users->setUsername("admin");
	$users->fillFields();
	$arr=array();
	$fname=$users->getFirstName();
	$lname=$users->getLastName();
	$gender=$users->getGender();
	$email=$users->getEmail();
	$mobile=$users->getMobile();
	/*echo $fname;
	echo $lname;
	echo $gender;
	echo $email;
	echo $mobile;*/
	$arr[]=array('fname'=>$fname,'lname'=>$lname,'gender'=>$gender,'email'=>$email,'mobile'=>$mobile);
	echo json_encode($arr);
?>
